<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const str = "hello";
      console.log(str);
      // 被 String() 包装成了对象
      console.log(str.length); // new String8("hello")
      console.log(str.__proto__ === String.prototype); // new String("hello")
      console.log(String.prototype.__proto__ === Object.prototype); // new String("hello")

      
      /*
      001 String
      010 Int
      100 Dbl
      000 Object
      null 00000000000000
      undefined -2^32
      */
    </script>
  </body>
</html>
